package com.raising.modules.code.entity;

import com.raising.framework.entity.BaseEntity;

/**
* 目录
* @author gaoyuan
* @createTime 2018-01-03 14:15:39
*/
public class CodeCatalog extends BaseEntity<CodeCatalog>{

    private static final long serialVersionUID = 1L;

    /** 名称 */
    private String name;
    /** 项目标识 */
    private String projectId;
    /** 父编号 */
    private String parentId;
    /** 父编号列表 */
    private String parentIds;
    /** 级别 */
    private String level;
    /** 是否可用 */
    private String available;
    /** 排序 */
    private String sort;

    public CodeCatalog() {
        super();
    }
    public CodeCatalog(String id){
        super(id);
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getProjectId(){
        return projectId;
    }

    public void setProjectId(String projectId){
        this.projectId = projectId;
    }

    public String getParentId(){
        return parentId;
    }

    public void setParentId(String parentId){
        this.parentId = parentId;
    }

    public String getParentIds(){
        return parentIds;
    }

    public void setParentIds(String parentIds){
        this.parentIds = parentIds;
    }

    public String getLevel(){
        return level;
    }

    public void setLevel(String level){
        this.level = level;
    }

    public String getAvailable(){
        return available;
    }

    public void setAvailable(String available){
        this.available = available;
    }

    public String getSort(){
        return sort;
    }

    public void setSort(String sort){
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "CodeCatalog{" +
            "id='" + id + '\'' + ", " + 
            "name='" + name + '\'' + ", " + 
            "projectId='" + projectId + '\'' + ", " + 
            "parentId='" + parentId + '\'' + ", " + 
            "parentIds='" + parentIds + '\'' + ", " + 
            "level='" + level + '\'' + ", " + 
            "available='" + available + '\'' + ", " + 
            "createBy='" + createBy + '\'' + ", " + 
            "createDate='" + createDate + '\'' + ", " + 
            "updateBy='" + updateBy + '\'' + ", " + 
            "updateDate='" + updateDate + '\'' + ", " + 
            "remarks='" + remarks + '\'' + ", " + 
            "sort='" + sort + '\'' + ", " + 
            "status='" + status + '\'' +
        '}';
    }
}
